import request from '@/utils/request'

// 查询操作统计列表
export function listOperstatistics(query) {
  return request({
    url: '/snowRemoving/operstatistics/list',
    method: 'get',
    params: query
  })
}

// 查询操作统计详细
export function getOperstatistics(id) {
  return request({
    url: '/snowRemoving/operstatistics/' + id,
    method: 'get'
  })
}

// 新增操作统计
export function addOperstatistics(data) {
  return request({
    url: '/snowRemoving/operstatistics',
    method: 'post',
    data: data
  })
}

// 修改操作统计
export function updateOperstatistics(data) {
  return request({
    url: '/snowRemoving/operstatistics',
    method: 'put',
    data: data
  })
}

// 删除操作统计
export function delOperstatistics(id) {
  return request({
    url: '/snowRemoving/operstatistics/' + id,
    method: 'delete'
  })
}

// 查询访问统计详细
export function curveData(query) {
  return request({
    url: '/snowRemoving/operstatistics/curveData',
    method: 'get',
    params: query
  })
}
